projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69d999
)
(image-file-name-regexp): Automatically add upper-case variants of each
author
Miles Bader
<miles@gnu.org>
Fri, 1 Dec 2000 04:35:54 +0000
(
04:35
+0000)
committer
Miles Bader
<miles@gnu.org>
Fri, 1 Dec 2000 04:35:54 +0000
(
04:35
+0000)
filename extension in `image-file-name-extensions', since they seem to
be common.
lisp/image-file.el
patch
|
blob
|
history
diff --git
a/lisp/image-file.el
b/lisp/image-file.el
index f8da174364bee48738bd7db971b5aa36011b1be1..ef667085eacab69f06eb91f433a58d49b4f6bf59 100644
(file)
--- a/
lisp/image-file.el
+++ b/
lisp/image-file.el
@@
-82,7
+82,10
@@
variable is set using \\[customize]."
(let ((exts-regexp
(and image-file-name-extensions
(concat "\\."
- (regexp-opt image-file-name-extensions t)
+ (regexp-opt (nconc (mapcar #'upcase
+ image-file-name-extensions)
+ image-file-name-extensions)
+ t)
"\\'"))))
(if image-file-name-regexps
(mapconcat 'identity